﻿using UnityEngine;
using System.Collections;
using UnityEngine.SocialPlatforms;
using GooglePlayGames;
using Soomla;
namespace Soomla.Store.Example {
public class initialisationService : MonoBehaviour {
	#if UNITY_ANDROID

	void Start () {
		// Select the Google Play Games platform as our social platform implementation
		GooglePlayGames.PlayGamesPlatform.Activate();
		SoomlaStore.Initialize(new boutique());
			StoreInventory.GiveItem ("currency_coins", 9000);
		// Authenticate
		if (!Social.localUser.authenticated) {
			Social.localUser.Authenticate((bool success) => {
			});
		}

	}
	#endif
}
}